package com.itheima.config;

public class BaseContext {
    private static ThreadLocal<Long> threadLocal=new ThreadLocal<>();

    public static Long getThreadLocal() {
        return threadLocal.get();
    }

    public static void setThreadLocal(long id) {
        threadLocal.set(id);
    }
}
